﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#region using for special implements
using Com.ProjectA.DAO;
using Com.ProjectA.DAC;
using Com.ProjectA.Utility;
#endregion using for special implements
namespace Com.ProjectA.BusinessLogic
{
    public class BLMessageNotifier
    {
        /// <summary>
        /// Notify Message To Client Side
        /// </summary>
        /// <param name="messageType">Message Type: Error, Sucess, Warning</param>
        /// <param name="strMsgTitle">Message Title. Ex: Person</param>
        /// <param name="strMsgContent">Message Content. Ex: Was created successfully</param>
        /// <returns>message string</returns>
        public static string NotifyMessage(Constants.MessageType messageType, string strMsgTitle, string strMsgContent)
        {
            return String.Format("{0}: {1} {2}", messageType, strMsgTitle, strMsgContent);
        }
    }
}
